package com.ytjj.qmyx.admin.dao;

import com.ytjj.qmyx.admin.model.request.SpecialProListRequest;
import com.ytjj.qmyx.admin.model.request.SpecialRecomListRequest;
import com.ytjj.qmyx.admin.model.request.SpecialRequest;
import com.ytjj.qmyx.admin.model.response.*;
import com.ytjj.qmyx.mall.model.Special;

import java.util.List;

public interface SpecialDao {

    List<SpecialResp> selectSpecialList(SpecialRequest specialRequest);

    List<SpecialProductResponse> getProductListById(SpecialProListRequest specialProListRequest);

    List<SpecialRecommendResponse> getRecommendListById(SpecialRecomListRequest specialRecomListRequest);

    List<Special> getSpecialList();

    List<SpecialResponse> getDynamicSpecialList();

    String getSpecialName(Integer id);

    int updateSpecial(Integer id);

    List<DynamicCategoryResponse> getDynamicCategory();
}
